Guild icon
S3Drive
Community / support / OpenSUSE - empty window widget
Avatar
Just made a fresh install on OpenSUSE, using flatpak, but I only get an empty window widget, plain grey rectangle, nothing in it. terminal output isn't helpful either xxx@yyy:~/tmp> flatpak run io.kapsa.drive Gtk-Message: 08:54:51.508: Failed to load module "canberra-gtk-module" ** (kapsa:2): CRITICAL **: 08:54:51.650: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Nie odnaleziono żądanego ustawienia package:media_kit_libs_linux registered. ** (kapsa:2): WARNING **: 08:54:51.703: libsecret_error: \xea╗\u000dV This libsecret error throws different artifacts on every run. OpenSUSE Leap 15.5 (edited)
Avatar
Hi, it seem to me that problem might be related to keychain unlocking. One user reported similar problem on Archlinux and tried keychain unlocking using seahorse, but actually problem was on our end with the Flatpak configuration: https://discord.com/channels/1069654792902815845/1201712855909670912/1201950218007101460 which we fixed here: https://github.com/flathub/io.kapsa.drive/pull/31/files We would need to try out the fresh OpenSUSE install ourselves and play with the keychain, but given we're pretty busy currently, it likely won't happen before Easter break.
Avatar
Ok, so is this pushed somewhere so I can check it on my end?
Avatar
It is live though, can you please verify if GNOME keyring is installed on your end? https://wiki.archlinux.org/title/GNOME/Keyring#Installation
Avatar
Might not be, I use kde
7:31 PM
Give me an hour, the baby is going to sleep at the moment
Avatar
We use this library for credentials management: https://pub.dev/packages/flutter_secure_storage which on Linux uses: https://wiki.gnome.org/Projects/Libsecret Based on instructions above: https://wiki.archlinux.org/title/GNOME/Keyring#Installation on top of: https://archlinux.org/packages/?name=gnome-keyring you might need this package: https://archlinux.org/packages/?name=libsecret which allows:
Access the GNOME Keyring (and any other service implementing the DBus Secret Service API) from the command line.
which is pretty much what we whitelisted in the Flatpak commit in my previous comment. PS. No rush and good luck with the kid ! BTW. If this works, then we'll update documentation to include these additional steps. Thank you for your input here.
(edited)
Flutter Secure Storage provides API to store data in secure storage. Keychain is used in iOS, KeyStore based solution is used in Android.
Avatar
I have both gnome keyring and libsecret-1-0; kwallet is functional too (edited)
7:50 PM
I added a note with my specific distro version above, Leap 15.5
7:54 PM
the appimage gives a different error /tmp/.mount_S3Driv6vx0Em/kapsa: error while loading shared libraries: libmpv.so.2: cannot open shared object file: No such file or directory
7:56 PM
which is a puzzle itself - why need a video player lib??? (and this version isn't in the repo, only v1)
Avatar
Avatar
CyberKiller
the appimage gives a different error /tmp/.mount_S3Driv6vx0Em/kapsa: error while loading shared libraries: libmpv.so.2: cannot open shared object file: No such file or directory
Regarding OpenSuse, sorry, but I am not able to provide what else might require checking. We probably need to spend some time on it testing an app with a little bit of trial & error. Regarding AppImage issue. Within S3Drive there is an option to preview videos (including encrypted ones). We use this library: https://pub.dev/packages/media_kit which then relies on MPV on Linux. The issue is that we've upgraded OS on our build machine (in order to resolve some other issues that we were having), so the app is packaged with libmpv2, however the AppImage itself is built on machine where libmpv2 isn't available, therefore we can't easily include it. We need to cleanup this mess / pay the debt... but before we do it user will likely need to install libmpv2 on their end. (edited)
A cross-platform video player & audio player for Flutter & Dart. Performant, stable, feature-proof & modular.
Avatar
Ok, it's no rush. Let me know here if anything gets moving regarding this in the future and I'll check (edited)
Avatar
We've updated our AppImage, so it actually includes libmpv2 libraries. We've had to bump the build machine from 22.04 to 23.04 in order to load libmpv2, so it should no longer fail on: error while loading shared libraries: libmpv.so.2 as previously. I've then used that AppImage on Leap 15.5 and received pretty much the same error that you've received using Flatpak release. I am not familiar with the DBus stuff, but it's likely related to: xdg-desktop-portal. I've specifically installed GNOME portal: zypper install xdg-desktop-portal-gnome , but it still hasn't resolved the issue. I am sure we will get to that eventually. If you have any hints in the meantime please let me know. Thanks ! (edited)
Avatar
Ok, so that's some progress
Avatar
CyberKiller 4/4/2024 6:58 PM
is there a bugtracker somewhere public, that I could track this issue? I don't know if discord won't make this hidden and forgotten after a while
Avatar
CyberKiller 5/8/2024 9:21 AM
I just updated from flatpak, version 1.8.8 seems to be working correctly, thanks!
Avatar
CyberKiller 5/8/2024 9:32 AM
well, I was to quick to praise it, it fails at login with a message that it can't unlock the keyring
Avatar
Given that we've made some improvements in our other Linux releases, would you be happy to try out AppImage and see if keyring issue is also a problem? (edited)
Avatar
One trick might be to install: "keepassxc" and run it, it may install required dependencies and/or configure the libsecret. I haven't tried that myself. (edited)
Avatar
We've added couple things to our Flatpak build, not quite sure if these changes addresses the libsecret issue, but it's certainly worth trying.
Exported 21 message(s)
Timezone: UTC+0